package com.github.junrar.util.io;

import java.io.IOException;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;

public class SizableBufferPipedInputStream extends PipedInputStream
 {

  public SizableBufferPipedInputStream(int bufferSize)
   {
    super();

    buffer = new byte[bufferSize];
   }

  public SizableBufferPipedInputStream(int bufferSize, PipedOutputStream src) throws IOException
   {
    super(src);

    buffer = new byte[bufferSize];
   }

 }
